  public function getCartPager($model)
  {
    $class = $this->getCartPagerClass();

    return new $class($model, $this->getCartPagerMaxPerPage());
  }

  public function getCartPagerClass()
  {
    return '<?php echo isset($this->config['cart']['pager_class']) ? $this->config['cart']['pager_class'] : 'sfPropelPager' ?>';
<?php unset($this->config['cart']['pager_class']) ?>
  }

  public function getCartPagerMaxPerPage()
  {
    return <?php echo isset($this->config['cart']['max_per_page']) ? (integer) $this->config['cart']['max_per_page'] : 20 ?>;
<?php unset($this->config['cart']['max_per_page']) ?>
  }
